{#<!-- 需引入-->#}
{#<script type="text/javascript" src="{{ asset('bundles/systemadmin/js/editor/kindeditor-min.js') }}"></script>#}
{#<script type="text/javascript" src="{{ asset('bundles/systemadmin/js/editor/lang/zh_CN.js') }}"></script>#}
{#<!-- 需初始化-->#}
{#<script type="text/javascript">#}
    {#$(function () #}{#}#}
        {#//初始化编辑器#}
        {#var editor = KindEditor.create('.editor', #}{#}#}
            {#width: '98%',#}
            {#height: '300px',#}
            {#resizeType: 1,#}
            {#uploadJson: '{{ path('kindUpload')}}?nbdir=img',#}
            {#fileManagerJson: '{{ path('kindManager')}}?nbdir=img',#}
            {#allowFileManager: true#}
        {#});#}
    {#});#}
{#</script>#}


{#<!-- 配置文件 -->#}
{#<script type="text/javascript" src="/assets/ue/ueditor.config.js?v=1.0.0"></script>#}
{#<!-- 编辑器源码文件 -->#}
{#<script type="text/javascript" src="/assets/ue/ueditor.all.js?v=1.0.0"></script>#}
{#<!-- 实例化编辑器 -->#}
{#<script type="text/javascript">#}
    {#$(".UEditor").each(function () {#}
        {#console.log($(this).attr("id"))#}

        {#UE.getEditor($(this).attr("id"));#}
    {#})#}
{#//    var ue = UE.getEditor('.container');#}
{#</script>#}